<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: csnf-xs
  Date: 2024/12/9
  Time: 11:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>用户编辑</title>
</head>
  <form action="updateUser" method="post">
    编号：<input type="text" name="user_id" value="${user.user_id}" readonly><br>
    账号：<input type="text" name="user_name" value="${user.user_name}"><br>
    昵称：<input type="text" name="user_nickname" value="${user.user_nickname}"><br>
    <input type="submit">
  </form>
  <table>
    <tr>
      <th>编号</th>
      <th>账号</th>
      <th>昵称</th>
      <th>操作</th>
    </tr>
    <c:forEach var="user" items="${userList}">
      <tr>
        <td>${user.user_id}</td>
        <td>${user.user_name}</td>
        <td>${user.user_nickname}</td>
        <td><a href="editUser?user_id=${user.user_id}"></a> </td>
      </tr>
    </c:forEach>
  </table>
<body>

</body>
</html>
